package Test;

public class Zi extends Fu{
    static {
        System.out.println("子类静态块");
        System.out.println(i);
    }

    {
        System.out.println("子类代码块");
        System.out.println(i);
    }

    public Zi() {
        System.out.println("子类构造方法");
        System.out.println(i);
    }

    public void study(){
        System.out.println("学习了吗");
    }

    public void answer(){
        System.out.println("学习了");
    }
}
